package cn.sciento.farm.devicemanager.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wumu
 * @since 2020-05-22
 */
public class DevInjectFertilizer extends Model<DevInjectFertilizer> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;

    private String eui;

    private Integer pipeAmount;

    private Integer areaId;

    private Float ec;

    private Float ph;

    private Double instantFlow;

    private Integer consumption;

    private Integer workMode;

    private Integer remoteMode;

    private Integer status;

    private String remark;

    private Integer schedule;

    private String tenantId;


    private Long createTime;

    private Long createUser;

    private Long updateTime;

    private Long updateUser;



    private String location;

    private Integer online ;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEui() {
        return eui;
    }

    public void setEui(String eui) {
        this.eui = eui;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Float getEc() {
        return ec;
    }

    public void setEc(Float ec) {
        this.ec = ec;
    }

    public Float getPh() {
        return ph;
    }

    public void setPh(Float ph) {
        this.ph = ph;
    }

    public Double getInstantFlow() {
        return instantFlow;
    }

    public void setInstantFlow(Double instantFlow) {
        this.instantFlow = instantFlow;
    }

    public Integer getConsumption() {
        return consumption;
    }

    public void setConsumption(Integer consumption) {
        this.consumption = consumption;
    }

    public Integer getWorkMode() {
        return workMode;
    }

    public void setWorkMode(Integer workMode) {
        this.workMode = workMode;
    }

    public Integer getRemoteMode() {
        return remoteMode;
    }

    public void setRemoteMode(Integer remoteMode) {
        this.remoteMode = remoteMode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getPipeAmount() {
        return pipeAmount;
    }

    public void setPipeAmount(Integer pipeAmount) {
        this.pipeAmount = pipeAmount;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getSchedule() {
        return schedule;
    }

    public void setSchedule(Integer schedule) {
        this.schedule = schedule;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getOnline() {
        return online;
    }

    public void setOnline(Integer online) {
        this.online = online;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "DevInjectFertilizer{" +
        "id=" + id +
        ", name=" + name +
        ", eui=" + eui +
        ", pipeAmount=" + pipeAmount +
        ", ec=" + ec +
        ", ph=" + ph +
        ", instantFlow=" + instantFlow +
        ", consumption=" + consumption +
        ", workMode=" + workMode +
        ", remoteMode=" + remoteMode +
        ", status=" + status +
        "}";
    }
}
